Discovery of conventional devices and bridges in hybrid communication networks

ABSTRACT

A hybrid network device can implement functionality for automatically detecting and locating legacy bridges in a communication network. In one embodiment, a first network device of a first class of network devices can determine that a second network device of a second class of network devices is communicatively located adjacent to at least one of a plurality of network interfaces of the first network device based, in part, on detecting that a packet originating from the second network device does not include a predetermined tag. The first network device can determine whether network segments associated with the first network device and a target network device are communicatively coupled via a network bridge device of the second class of network devices based on transmitting probe messages to the second network device and determining whether the target network device detected the probe messages.

RELATED APPLICATION

This application claims the priority benefit of U.S. Provisional Application Ser. No. 61/448,511 filed on Mar. 2, 2011.

BACKGROUND

Embodiments of the inventive subject matter generally relate to the field of communication systems and, more particularly, to a mechanism for discovery of conventional devices and bridges in a hybrid communication network.

Hybrid communication networks typically comprise multiple networking technologies (e.g., wireless local area network (WLAN) technologies, powerline communication technologies, Ethernet, etc.) that are interconnected using bridging-capable devices that forward packets between devices utilizing the different network technologies and media in order to form a single extended communication network. Typically, the communication mechanisms, and protocol specifics (e.g., device and topology discovery, bridging to other networks, etc.) are unique to each networking technology. The hybrid communication network can comprise hybrid communication devices and conventional (or legacy) communication devices.

SUMMARY

Various embodiments of a mechanism for discovery of conventional devices and bridges in a hybrid communication network are disclosed. In one embodiment, it is determined that at least one of a plurality of network interfaces of a first network device of a first class of network devices is communicatively located adjacent to a second network device of a second class of network devices in a communication network based, at least in part, on detecting that one or more packets received at the at least one of the plurality of network interfaces from the second network device do not comprise a predetermined tag. A probe message is transmitted to the second network device of the second class of network devices via the at least one of the plurality of network interfaces of the first network device. It is determined whether the probe message was detected by at least one of a plurality of network interfaces of a target network device of the first class of network devices that is communicatively located adjacent to the second network device of the second class of network devices. It is determined that a first network segment associated with the at least one of the plurality of network interfaces of the first network device is communicatively coupled to a second network segment associated with the at least one of the plurality of network interfaces of the target network device via a network bridge device of the second class of network devices in response to determining that the probe message was not detected by the target network device.

BRIEF DESCRIPTION OF THE DRAWINGS

The present embodiments may be better understood, and numerous objects, features, and advantages made apparent to those skilled in the art by referencing the accompanying drawings.

FIG. 1 is an example block diagram illustrating a mechanism for detecting legacy network devices and bridges in a hybrid communication network;

FIG. 2 is a flow diagram illustrating example operations for identifying legacy network devices and bridges in a hybrid communication network;

FIG. 3 is a continuation of FIG. 2 and also illustrates example operations for identifying legacy network devices and bridges in a hybrid communication network; and

FIG. 4 is an example block diagram of one embodiment of an electronic device including a mechanism for discovery of legacy network devices and bridges in a hybrid communication network.

DESCRIPTION OF EMBODIMENT(S)

The description that follows includes exemplary systems, methods, techniques, instruction sequences, and computer program products that embody techniques of the present inventive subject matter. However, it is understood that the described embodiments may be practiced without these specific details. For instance, although in some embodiments the conventional bridge discovery mechanism can be implemented for hybrid communication networks comprising wireless local area network (WLAN) devices (e.g., IEEE 802.11n devices), powerline network devices (e.g., HomePlug AV) and Ethernet devices, in other embodiments the conventional bridge discovery mechanism can be implemented in hybrid communication networks that may comprise other suitable types of network devices that implement other standards/protocols (e.g., WiMAX, etc.). In other instances, well-known instruction instances, protocols, structures, and techniques have not been shown in detail in order not to obfuscate the description.

A hybrid communication network (e.g., a hybrid home network) is typically formed by interconnecting communication networks (that support different communication protocols) across different network technologies and communication media. The hybrid communication network can comprise multi-interface communication devices (“hybrid devices”) that are configured to operate across multiple networking technologies as well as conventional, single-interface communication devices (“legacy devices”). Typically, the hybrid devices implement topology discovery and other information exchange protocols to advertise their presence to other hybrid devices in the hybrid communication network. However, the legacy devices (including legacy bridges) may not implement the topology discovery and information exchange protocols and may not advertise their presence within the hybrid communication network. The hybrid devices, therefore, may attempt to route packets in the hybrid communication network without being aware of the presence or location of legacy devices and legacy bridges in the hybrid communication network. However, for proper packet routing, the hybrid devices should be aware of the topology of the hybrid communication network. For example, the hybrid devices may implement protocols to improve network performance by evenly dividing the communication load over multiple routes. The presence of legacy bridges of varying capability and that implement various legacy protocols can influence the route selection decisions made by the hybrid devices. For example, a legacy learning bridge typically “learns” the location of various other communication devices (e.g., legacy devices, hybrid devices, etc.) in the hybrid communication network with respect to various interfaces of the legacy learning bridge. The legacy learning bridge in the hybrid communication network may drop incoming packets if the legacy learning bridge detects the same source address on more than one of its interfaces and/or if the interface at which the incoming packets arrive at the legacy learning bridge is inconsistent with what the legacy learning bridge has previously learned. Existing topology discovery techniques may rely on direct exchange of information between communication devices and on manual configuration of virtual LANs, bridge priorities, or explicit provision of topology information that can be too complicated for users.

In some embodiments, hybrid devices can implement a mechanism for automatically detecting and locating legacy learning bridges in a hybrid communication network with little or no user configuration, so that route selection decisions can take into consideration the effects of the legacy learning bridges. The hybrid devices can be configured to mark packets received from legacy devices with a special predetermined tag before forwarding the packets (if needed) to indicate that the packets were routed via a hybrid device. In one implementation, when a hybrid device detects a packet from a legacy device, the hybrid device can determine whether the packet comprises the special predetermined tag. If the hybrid device determines that the packet was received without the predetermined tag, this can indicate that the legacy device is not coupled to the hybrid device via other intermediate hybrid devices. Such a legacy device is herein referred to as an “adjacent legacy device” with respect to the hybrid device (e.g., with respect to at least one communication interface of the hybrid device) at which the packet was detected. The hybrid device can then transmit a probe message to the adjacent legacy device, determine whether one or more other hybrid devices detected the probe message, and consequently determine whether the hybrid device and the one or more other hybrid devices (which may be located in different network segments) are connected via legacy bridges, as will be further described below with reference to FIGS. 1-4. Such a topology discovery mechanism for identifying the presence of legacy learning bridges in a hybrid communication network can improve and simplify the route selection process in the hybrid communication network. By identifying the position of the legacy learning bridges vis-a-vis the hybrid devices, packet routes can be appropriately selected (or avoided) to try to ensure the legacy learning bridges detect the same source addresses at the appropriate “learned” interfaces. This can minimize the probability of dropped packets and improve performance of the hybrid communication network.

FIG. 1 is an example block diagram illustrating a mechanism for detecting legacy devices and bridges in a hybrid communication network 100. As described above, the hybrid communication network 100 can comprise communication devices (e.g., hybrid devices, hybrid bridges, legacy devices, legacy bridges, etc.) that implement one or more different communication protocols (e.g., WLAN, HomePlug AV, Ethernet, etc.), based on various networking standards and operating either wirelessly or over various wired media (powerline, coax cable, unshielded twisted pair telephone cable, CATS shielded twisted pair cable, etc.). In some implementations, the hybrid devices can be electronic devices that comprise bridging capabilities in addition to communication capabilities. Such hybrid devices may be referred to as “hybrid bridges.” The hybrid devices can also be electronic devices that comprise communication capabilities but do not comprise bridging capabilities. Such hybrid devices may be referred to as “hybrid communication devices.” In some implementations, the legacy devices can be electronic devices that comprise bridging capabilities in addition to communication capabilities, which can be referred to herein as “legacy bridges.” The legacy devices can also be electronic devices that comprise communication capabilities but do not comprise bridging capabilities. Such legacy devices may be referred to as “legacy communication devices.” In FIG. 1, the hybrid communication network 100 comprises two network segments 120 and 122. The network segment 120 comprises hybrid devices 102 and 116, and a legacy device 106. The network segment 122 comprises a hybrid device 104 and a legacy device 108. A legacy bridge 110 couples the network segment 120 and the network segment 122. The hybrid device 102 comprises a device detection unit 112 and a routing unit 114. Likewise, although not depicted in FIG. 1, the hybrid devices 104 and 116 can also comprise their respective device detection units and routing units. It is noted that in some implementations, the hybrid devices 102, 104, and 116 can be hybrid bridges. In some embodiments, the hybrid devices 102, 104, and/or 116 can be hybrid bridges or hybrid communication devices. Likewise, the legacy devices 106 and 108 can be legacy bridges or legacy communication devices.

In some implementations, the hybrid devices 102, 104, and 116 can comprise multiple communication interfaces, each of which connects the hybrid device to different communication networks. For example, the hybrid device 102 can comprise three communication interfaces (e.g., a powerline interface, an Ethernet interface, and a wireless local area network (WLAN) interface) that enable the hybrid device 102 to connect to a powerline communication network, an Ethernet, and a WLAN, respectively. It is noted that even though FIG. 1 does not explicitly show multiple communication interfaces for the hybrid devices 102, 104 and 116, the hybrid devices 102, 104 and 116 can comprise two or more communication interface that couple the hybrid devices to two or more communication networks. The legacy devices typically comprise only one communication interface for communication via the corresponding communication network. For example, the legacy devices 106 and 108 may comprise an Ethernet interface for communication via Ethernet. In some implementations, each of the hybrid devices 102, 104, and 116 can broadcast announcement messages to advertise their presence in the hybrid communication network 100. For example, the hybrid device 102 can broadcast an announcement message (e.g., at predetermined periodic time intervals) comprising an identifier of the hybrid device 102 to announce its presence in the hybrid communication network 100 to the hybrid devices 104 and 116. However, as described above, the legacy devices may not be capable of broadcasting announcement messages (or other similar messages). Therefore, the hybrid devices 102, 104, and 116 can execute operations described below in stages A-G (and also FIGS. 2-3) to discover legacy devices and legacy bridges in the hybrid communication network 100 in order to determine the topology of the hybrid communication network 100.

At stage A, the device detection unit 112 of the hybrid device 102 detects a packet transmitted by the legacy device 106 that does not comprise a predetermined tag. For example, the legacy device 106 may transmit the packet to another legacy device via the hybrid device 102. As another example, the packet transmitted by the legacy device 106 may be intended for the hybrid device 102. As another example, the legacy device 106 may broadcast a packet in the hybrid communication network 100 at periodic intervals and the hybrid device 102 can detect the broadcasted packet. In some implementations, in response to detecting the packet from the legacy device 106, the device detection unit 112 can read a predetermined field in the received packet to determine whether the received packet comprises the predetermined tag. The predetermined tag can be any suitable combination of characters, numbers, and symbols (e.g., any suitable combination of zeros and ones). In one implementation, the predetermined tag can be a virtual local area network (VLAN) tag. In another implementation, the predetermined tag may be a static tag (e.g., hardcoded as part of the hybrid devices during manufacturing), while in other implementations the hybrid devices 102, 104, and 116 in the hybrid communication network 100 can negotiate and agree upon the value of the predetermined tag. In another implementation, a user may configure/select the value of the predetermined tag.

At stage B1, the device detection unit 112 determines that the legacy device 106 is an adjacent legacy device in response to detecting that the packet from legacy device 106 does not comprise the predetermined tag. In some implementations, the hybrid devices 102, 104, and 116 may be configured to append the predetermined tag to any packet received from a legacy device prior to forwarding the received packet to the intended destination device. If the hybrid device 102 receives the packet from the legacy device 106 without the predetermined tag, this can indicate that there are no other hybrid devices along the route between the hybrid device 102 and the legacy device 106 (e.g., along the route between at least one of the interfaces of the hybrid device 102 and the legacy device 106). In other words, receiving the packet from the legacy device 106 without the predetermined tag can identify the legacy device 106 as an “adjacent legacy device” with respect to the hybrid device 102 (e.g., with respect to at least one of the interfaces of the hybrid device 102). In some implementations, in response to determining that the legacy device 106 is an adjacent legacy device with respect to the hybrid device 102, the device detection unit 112 can broadcast an “adjacent device identification” message to the other hybrid devices 104 and 116 in the hybrid communication network 100. The adjacent device identification message can comprise an identifier (e.g., a network address, a device address, etc.) associated with the adjacent device 106 and an identifier associated with the hybrid device 102. In another implementation, the device detection unit 112 can broadcast an indication of the adjacent legacy device 106 in any suitable message (e.g., a beacon message, a periodic synchronization message, etc.).

It is noted that, in some implementations, the legacy device 106 does not have to be physically adjacent to the hybrid device 102 (as depicted in FIG. 1) in order to be considered an “adjacent legacy device.” Instead, the legacy device 106 may only be “communicatively located adjacent” to at least one interface of the hybrid device 102. In other words, with reference to the example of FIG. 1, even though a packet transmitted by the legacy device 108 to the hybrid device 102 may pass through the legacy bridge 110 (another legacy device), it may not pass through another hybrid device. In other words, the packet route between the legacy device 108 and the hybrid device 102 does not comprise any intermediate hybrid devices. Therefore, the device detection unit 112 may receive the packet transmitted by the legacy device 102 without the predetermined tag, and may determine that the legacy device 108 is an adjacent legacy device with respect to the hybrid device 102.

At stage B2, the hybrid device 104 determines that the legacy device 106 is an adjacent legacy device in response to detecting that the packet received from legacy device 106 does not comprise the predetermined tag. As described above in stages A and B1, a device detection unit (not shown) of the hybrid device 104 can detect that the packet transmitted by the legacy device 106 does not comprise the predetermined tag. The hybrid device 104 can determine that there are no other hybrid devices along the packet route between the hybrid device 104 and the legacy device 106. Consequently, the hybrid device 104 can identify the legacy device 106 as an “adjacent legacy device” with respect to the hybrid device 104 (e.g., with respect to at least one of the interfaces of the hybrid device 104). Furthermore, as described above in stage B1, the hybrid device 104 may indicate (to the other hybrid devices 102 and 116 in the hybrid communication network 100) that the legacy device 106 is an adjacent legacy device with respect to the hybrid device 104 by sending an adjacent device identification message or another suitable message. Likewise, at stage B2, the hybrid device 116 can also determine (and announce) that the legacy device 106 is an adjacent legacy device in response to detecting that the packet received from legacy device 106 does not comprise the predetermined tag.

At stage C, the device detection unit 112 appends the predetermined tag to the packet and forwards the packet. As described above, the hybrid devices 102, 104, and 116 can be configured to append the predetermined tag (e.g., a VLAN tag) to all packets received at at least one of the interfaces of the hybrid device from an adjacent legacy device. Appending the predetermined tag to packets received from the adjacent legacy device can enable other hybrid devices to identify whether or not the legacy device is an adjacent legacy device. Tagging packets received from the legacy device can enable the other hybrid devices that subsequently detect the packet to determine whether the packet was forwarded by another hybrid device (e.g., a hybrid bridge or a hybrid communication device) or whether the packet was forwarded by a legacy bridge. For example, the device detection unit 112 may append the predetermined tag to the packet received from the legacy device 106 and may forward the packet to a destination hybrid device connected on a different network segment. In response to receiving the packet (that was tagged by the hybrid device 102), the destination hybrid device can determine that the hybrid device 102 is one of the forwarding devices along the route between the legacy device 106 and the destination hybrid device.

At stage D, the device detection unit 112 identifies one or more target hybrid devices with which the legacy device 106 is an adjacent legacy device. For example, after the device detection unit 112 determines that the legacy device 106 is an adjacent legacy device with respect to the hybrid device 102, the device detection unit 112 can determine whether the legacy device 106 is an adjacent legacy device with respect to one or more other hybrid devices. In some implementations, the device detection unit 112 can listen for adjacent device identification messages transmitted by other hybrid devices in the hybrid communication network 100. In the example of FIG. 1, the device detection unit 112 can detect adjacent device identification messages transmitted by the hybrid devices 104 and 116, and determine that the legacy device 106 is an adjacent legacy device with respect to the hybrid devices 104 and 116. The hybrid devices 104 and 116 that share a common adjacent legacy device (e.g., the legacy device 106) with the hybrid device 102 are referred to herein as “target hybrid devices.” After the device detection unit 112 identifies the target hybrid devices 104 and 116, the device detection unit 112 can probe the adjacent legacy device 106 to determine the position of the adjacent legacy device 106 with respect to the hybrid devices 102, 104, and 116, and to determine whether a legacy bridge connects two or more of the hybrid devices 102, 104, and 116.

At stage E, the device detection unit 112 transmits a probe message to the adjacent legacy device 106. In some implementations, the device detection unit 112 can transmit the probe message to the adjacent legacy device 106 via the communication interface (of the hybrid device 102) on which the packet from the legacy device 106 was detected. The probe message can enable the device detection unit 112 to determine the position of the legacy device 106 in the hybrid communication network 100 vis-à-vis the hybrid devices 102, 104, and 116. More specifically, transmitting the probe message to the adjacent legacy device 106 can enable the device detection unit 112 to determine whether the hybrid device 102 and the target hybrid devices 104 and 116 are part of a common network segment, or part of different network segments coupled by a legacy bridge. In some implementations, the device detection unit 112 can transmit the probe message to the adjacent legacy device 106 as soon as the device detection unit 112 identifies the one or more target hybrid devices 104 and 116 that are also adjacent to the legacy device 106. In another implementation, the device detection unit 112 can communicate with the target hybrid devices 104 and 116 and can negotiate a communication schedule in which the probe messages should be transmitted to the adjacent legacy device 106. In another implementation, the device detection unit 112 can transmit a probe start message to the target hybrid devices 104 and 116 to indicate that probe messages will be transmitted to the adjacent legacy devices to discover the topology of the communication network 100. The device detection unit 112 can also transmit a probe stop message to indicate (to the target hybrid devices 104 and 116) that probe messages have been transmitted to all the adjacent legacy devices. In some implementations, the device detection unit 112 may identify multiple adjacent legacy devices and may transmit a unicast probe message to each identified adjacent legacy device. In another implementation, the device detection unit 112 can transmit a multicast probe message to two or more identified adjacent legacy devices.

At stage F, the target hybrid device 104 indicates whether the probe message transmitted to the adjacent legacy device 106 was detected at the target hybrid device 104. In some implementations, the device detection unit 112 can notify the target hybrid device 104 (e.g., via a notification message) when (e.g., a time instant at which) the probe message is transmitted (or is scheduled to be transmitted) to the adjacent legacy device 106. In one example, the device detection 112 can also notify the target hybrid device 104 how many probe messages are (or will be) transmitted to the adjacent legacy device 106. The target hybrid device 104 can wait for a predetermined time interval (configured based on the number of probe messages that are transmitted, the length of the probe messages, maximum allowable network delay, etc.) to receive the probe messages. In response to detecting one or more of the probe messages intended for the adjacent legacy device 106, the target hybrid device 104 can transmit an acknowledgment message to the initiating hybrid device 102 to indicate detection of the probe message(s). Alternately, if the target hybrid device 104 does not detect any of the probe messages, the target hybrid device 104 can indicate (e.g., after the predetermined time interval elapses) that none of the probe messages were detected. In another implementation, the hybrid device 102 can transmit one or more probe messages to the adjacent legacy device 106, wait for the predetermined time interval, and then query the target hybrid device 104 to determine whether the one or more probe messages were detected at the target hybrid device 104. In the example shown in FIG. 1, the target hybrid device 104 can indicate that the probe message transmitted from the hybrid device 102 to the adjacent legacy device 106 was not detected at the target hybrid device 104 (e.g., since the target hybrid device 104 is located in a different network segment separated by a legacy bridge). The target hybrid device 116 can indicate that the probe message transmitted from the hybrid device 102 to the adjacent legacy device 106 was detected at the target hybrid device 116 (e.g., since the hybrid device 116 is located in the same network segment as the initiating hybrid device 102).

At stage G, the routing unit 114 determines whether the hybrid devices are located in different network segments connected by a legacy bridge based on whether the probe message was detected at the one or more target hybrid devices. In the example of FIG. 1, the routing unit 114 can determine that the probe message transmitted to the adjacent legacy device 106 was not detected at the target hybrid device 104. This can indicate that the hybrid device 102 and the target hybrid device 104 are located in different network segments 120 and 122 that are connected by the legacy bridge 110. In the example of FIG. 1, the routing unit 114 can determine that the probe message transmitted to the adjacent legacy device 106 was detected at the target hybrid device 116. Determining that the probe message transmitted to the adjacent legacy device 106 was detected at the target hybrid device 116 can indicate (e.g., to the routing unit 114) that there are no legacy bridges between the legacy device 106 and the hybrid device 116. Although not described in FIG. 1, it is noted that each of the hybrid devices 102, 104, and 116 that identified the legacy device 106 as an adjacent legacy device can transmit a probe message to the legacy device 106, and then determine whether the probe message was detected by one or more of the other hybrid devices. This can enable the hybrid devices 102, 104, and 116 to determine, verify, and update the estimation of the topology of the hybrid communication network 100 (e.g., the location of the legacy bridges relative to the hybrid devices). Operations of the routing unit 114 determining the topology of the hybrid communication network 100 will further be described with reference to FIG. 3. The routing unit 114 can then use the knowledge of the topology of the hybrid communication network 100 for efficient packet routing through bridged network segments.

FIG. 2 and FIG. 3 depict a flow diagram (“flow”) 200 illustrating example operations for identifying legacy network devices in a hybrid communication network. The flow 200 begin at block 202 in FIG. 2.

At block 202, a hybrid device detects a packet transmitted by a legacy device in a hybrid communication network. As described above, in one example, the hybrid device can be a hybrid bridge and the legacy device can be a legacy communication device. With reference to the example of FIG. 1, the device detection unit 112 of the hybrid device 102 can detect a packet transmitted by the legacy device 106. As described above in stage A of FIG. 1, the packet transmitted by the legacy device 102 can be a unicast packet intended for the hybrid device 102, a packet to be forwarded by the hybrid device 102 to another destination device, a multicast packet, a broadcast packet, etc. In some implementations, the legacy device 106 may transmit a test packet (e.g., comprising a NULL payload or a predetermined payload). In other implementations, the legacy device 106 may transmit a control packet or a data packet comprising control information and/or data intended for the destination device. The flow continues at block 204.

At block 204, it is determined whether the packet transmitted by the legacy device comprises a predetermined tag. For example, the device detection unit 112 can determine whether the packet (detected at block 202) comprises the predetermined tag. As described above in FIG. 1, the hybrid devices can be configured to insert the predetermined tag into any packet received directly from an adjacent legacy device (i.e., without being routed by another hybrid device). The presence of the predetermined tag can indicate that there exist one or more other hybrid devices along the route between the legacy device 106 and the hybrid device 102. Alternately, the absence of the predetermined tag can indicate that the there are no hybrid devices along the route between the legacy device 106 and the hybrid device 102 (i.e., the legacy device 106 is an adjacent legacy device). If it is determined that the packet transmitted by the legacy device comprises the predetermined tag, the flow continues at block 206. Otherwise, the flow continues at block 208.

At block 206, it is determined that the legacy device and the hybrid device are located on distinct network segments connected by at least one other hybrid device. The flow 200 moves from block 204 to block 206 if the device detection unit 112 determines that the packet transmitted by the legacy device 106 comprises the predetermined tag. Because the received packet comprises the predetermined tag, the device detection unit 112 can determine that the packet was routed from the legacy device 106 to the hybrid device 102 via another intermediate hybrid device (e.g., that appended the predetermined tag to the packet). The device detection unit 112 can also determine that the hybrid device 102 would have directly received the packet from the legacy device 106 (e.g., without the predetermined tag) if the legacy device 106 and the hybrid device 102 were part of the same network segment. Thus, the device detection unit 112 can infer that the legacy device 106 and the hybrid device 102 are located on different network segments connected by one or more hybrid devices. In some implementations, the routing unit 114 of the hybrid device 102 can store (e.g., in a routing data structure) routing information associated with the legacy device 106. For example, the routing unit 114 can store an identifier associated with the legacy device 106, an identifier associated with the one or more intermediate hybrid devices (if known), an interface (or port) on which the packet from the legacy device 106 was detected, etc. The routing unit 114 can use this routing information to route subsequent packets to the legacy device 106. From block 206, the flow ends.

At block 208, the hybrid device determines that the legacy device is adjacent to the hybrid device. The flow 200 moves from block 204 to block 208 if the device detection unit 112 determines that the packet transmitted by the legacy device 106 does not comprise the predetermined tag. Because the received packet does not comprise the predetermined tag, the device detection unit 112 can infer that the packet was directly transmitted from the legacy device 106 to the hybrid device 102 or that the packet was routed from the legacy device 106 to the hybrid device 102 via one or more legacy bridges. In other words, because the received packet does not comprise the predetermined tag, the device detection unit 112 can determine that the route between the hybrid device 102 and the legacy device 106 does not comprise any other hybrid devices. It is also noted that if the device detection unit 112 detects the packet from the legacy device 106 at one of the multiple communication interfaces of the hybrid device 102, the legacy device 106 can be considered to be an adjacent legacy device with respect to that communication interface of the hybrid device 102. In other words, the device detection unit 112 can determine whether the legacy device 106 is adjacent to the hybrid device 102 on an interface-by-interface basis. In some implementations, the routing unit 106 may also store an identifier associated with the legacy device 106 and an indication of the interface/port of the hybrid device 102 on which the packet was detected. After the device detection unit 112 identifies the legacy device 106 as an adjacent legacy device with respect to the hybrid device 102 (e.g., with respect to at least one communication interface of the hybrid device 102), the flow continues at block 210.

At block 210, a notification message is broadcast to other hybrid devices to indicate that the legacy device is adjacent to the hybrid device. For example, as described above with reference to FIG. 1, the device detection unit 112 can broadcast an adjacent device identification message (or another suitable message) to indicate that the legacy device 106 is an adjacent legacy device with respect to the hybrid device 102. The adjacent device identification message can comprise an identifier associated with the adjacent legacy device 106, an identifier associated with the hybrid device 102, an identifier associated with the corresponding interface of the hybrid device 102 on which the packet was detected, etc. The flow continues at block 212.

At block 212, one or more target hybrid devices in the hybrid communication network that are adjacent to the legacy device are identified based on detecting one or more corresponding notification messages. For example, on determining that the legacy device 106 is adjacent to the hybrid device 102, the device detection unit 112 can attempt to identify one or more target hybrid devices for which the legacy device 106 is an adjacent legacy device. For example, the device detection unit 112 can listen for and can receive one or more adjacent device identification messages from corresponding one or more hybrid devices in the hybrid communication network 100. The device detection unit 112 can read the multiple adjacent device identification messages and can identify the one or more target hybrid devices for which the legacy device 106 is an adjacent legacy device. With reference to the example of FIG. 1, the device detection unit 112 determines that the legacy device 106 is also adjacent to at least one of the interfaces of the target hybrid devices 104 and 116. The flow continues at block 214 in FIG. 3, where the device detection unit 112 can probe the adjacent legacy device 106 to determine whether a legacy bridge couples the hybrid device 102 with the hybrid devices 104 and 116.

At block 214, a probe message is transmitted to the adjacent legacy device. For example, the device detection unit 112 can transmit the probe message to the adjacent legacy device 106. As will be further described below, transmitting the probe message to the adjacent legacy device 106 can enable the device detection unit 112 to determine whether the hybrid device 102 and the one or more target hybrid devices 104 and 116 are part of a common network segment or part of different network segments coupled by a legacy bridge (e.g., based on whether the one or more target hybrid devices 104 and 116 detected the probe message). In some implementations, the device detection unit 112 can transmit the probe message to the adjacent legacy device 106 via the communication interface (of the hybrid device 102) on which the packet from the legacy device 106 was detected (at block 202). The flow continues at block 216.

At block 216, a loop is initiated for each of the one or more target hybrid devices in the hybrid communication network. For example, the device detection unit 112 can initiate the loop to determine whether the probe message transmitted to the adjacent legacy device 106 was detected by the one or more target hybrid devices 104 and 116, as will be described below. The flow continues at block 218.

At block 218, it is determined whether the probe message was detected by the target hybrid device. For example, the device detection unit 112 can determine whether the probe message (transmitted to the adjacent legacy device 106 at block 214) was detected at the target hybrid device 104. As described above in FIG. 1, in some implementations, the device detection unit 112 can query the target hybrid device 104 to determine whether the probe message transmitted to the legacy device 106 was detected at the target hybrid device 104. The device detection unit 112 can receive a response message that indicates whether the probe message was detected at the target hybrid device 104. In another implementation, the target hybrid device 104 may be configured to automatically transmit an indication of whether the probe message was detected at the target hybrid device 104. For example, on detecting the probe message, the target hybrid device 104 may automatically transmit an indication that the probe message was detected at the target hybrid device 104. As another example, if the probe message is not detected within a predetermined time interval, the target hybrid device 104 may indicate that the probe message was not detected at the target hybrid device 104. In some implementations, the communication interfaces of the target hybrid devices 104 and 116 may be configured to snoop, receive, and process unicast packets that are intended for the legacy device 106. It is noted that in some implementations, whether the target hybrid devices 104 and 116 detect the probe message transmitted by the hybrid device 102 may depend on the learning capabilities and learning behavior of the legacy bridge 110. For example, after the legacy bridge 110 “learns” that legacy device 106 is associated with the network segment 120, the legacy bridge 110 may not forward unicast packets intended for the legacy device 106 from the network segment 120 onto the network segment 122. Consequently, the target hybrid device 104 may not detect the probe messages transmitted from the hybrid device 102 to the legacy device 106. If it is determined that the probe message intended for the adjacent legacy device 106 was detected at the target hybrid device 104, the flow continues at block 222. Otherwise, the flow continues at block 220.

At block 220, it is determined that the hybrid device and the target hybrid device are located on different network segments connected by a legacy bridge. The flow 200 moves from block 218 to block 220 if the device detection unit 112 determines that the probe message was not detected at the target hybrid device 104. When the hybrid device 102 transmits the probe message to the adjacent legacy device 106, the legacy bridge 110 connecting the network segments 120 and 122 may receive the probe message. The legacy bridge 110 can determine (e.g., based on forwarding tables, based on previously learned topology, etc.) that the legacy device 106 and the hybrid device 102 are connected to the same port (e.g., to the same interface) of the legacy bridge 110. For example, the legacy bridge 110 may receive the probe message on port 1, determine that the legacy device 106 is also connected on port 1, and may therefore not forward the probe message (e.g., to another port associated with the network segment 122). The hybrid device 104 connected to the network segment 122 may therefore not detect the probe message transmitted from the hybrid device 102 to the legacy device 106. As described above, the probe message can be transmitted to the legacy device 106 via the same interface of the hybrid device 102 on which the packet was received from the legacy device. Based on knowledge that the probe message transmitted to the legacy device 106 was received by the legacy device 106 but was not detected by the target hybrid device 104, the routing unit 114 can infer that the target hybrid device 104 is not connected to that interface of the hybrid device 102. In other words, the routing unit 114 can infer that the hybrid device 102 and the target hybrid device 104 are located on different network segments connected by at least one legacy bridge (e.g., the legacy bridge 110). The flow continues at block 224.

At block 222, it is determined that the target hybrid device and the legacy device are located on a common network segment. The flow 200 moves from block 218 to block 222 if the device detection unit 112 determines that the probe message was detected by the target hybrid device 116. In the example of FIG. 1, the target hybrid device 116 can detect probe messages transmitted from the hybrid device 102 to the legacy device 106. This can indicate that the legacy device 106 and the target hybrid device 116 are located on a common network segment 120 and that the target hybrid device 116 and the legacy device 106 are not connected by a legacy bridge. Likewise, if the hybrid device 102 detects probe messages transmitted from the target hybrid device 116 to the legacy device 106, this can indicate that the legacy device 106 and the hybrid device 102 are located on a common network segment 120. In other words, the routing unit 114 can determine that the hybrid device 102 and the legacy device 106 are not connected by a legacy bridge. The flow continues at block 224.

At block 224, it is determined whether there exist other target hybrid devices in the hybrid communication network. If the device detection unit 112 determines that there exist other hybrid devices in the hybrid communication network, the flow loops back to block 216, where the device detection unit 112 can identify the next target hybrid device and can determine whether the probe message intended for the adjacent legacy device 106 was detected at the next target hybrid device. Otherwise, the flow continues at block 226. It is noted that although FIG. 3 depicts the target hybrid devices being analyzed sequentially (in blocks 218-224), in other embodiments, the target hybrid devices can be analyzed simultaneously.

At block 226, the communication network topology is determined and is used to route packets from the hybrid device. In some implementations, the routing unit 114 can determine the communication network topology based on whether probe messages transmitted by the hybrid device 102 were detected at each of the target hybrid devices 104 and 116 in the hybrid communication network 100. The routing unit 114 can also determine the communication network topology based on detecting packets from the legacy devices, transmitting and detecting probe messages, detecting broadcast announcement messages from other hybrid devices, etc. For example, the hybrid device 102 can store an indication of one or more legacy devices that were deemed to be adjacent to each of the hybrid devices 102, 104, and 116 in the hybrid communication network 100. The initiating hybrid device 102 can also store an indication of whether probe messages transmitted to the one or more adjacent legacy devices were detected by each of the target hybrid devices 104 and 116. Accordingly, the routing unit 114 can infer the topology of the hybrid communication network 100. In some implementations, the hybrid device 102 can also listen for probe messages transmitted by other hybrid devices 104 and 116 to the adjacent legacy device 106. Configuring each of the hybrid devices 102, 104, and 116 adjacent to a particular legacy device 106 to transmit probe messages can enable the hybrid devices 102, 104, and 116 to verify and to correct (if necessary) their estimation of the topology of the hybrid communication network 100.

As part of the topology of the hybrid communication network 100, the routing unit 114 can determine the position of legacy bridges in the hybrid communication network 100 with respect to each of the hybrid devices 102, 104, and 116. For example, the routing unit 114 can identify network segments to which each of the legacy devices and hybrid devices belong, determine whether the hybrid devices 102, 104, and 116 are located on the same network segment, determine whether the network segments are connected by legacy bridges or hybrid bridges, etc. The routing unit 114 can also identify interfaces of the hybrid devices 102, 104, 106 to which the legacy devices 106 and 108 are connected, interfaces of the hybrid devices 102, 104, 106 to which the other hybrid devices are connected, etc. Referring to the example of FIG. 1, the routing unit 114 can determine that at least one communication interface of the hybrid devices 102 and 116 are connected to the same network segment 120. The routing unit 114 can also determine that the communication interfaces of hybrid devices 102 and 104 are connected to different network segments—connected via the legacy bridge 110.

Additionally, the routing unit 114 can also broadcast the estimated topology of the hybrid communication network 100 to the other hybrid devices 104 and 116. Based on the estimated communication network topology, the routing unit 114 can select an appropriate packet route for transmitting a packet to a destination device through the hybrid communication network 100. Furthermore, if there are multiple available packet routes to the destination device, the routing unit 114 can use the communication network topology information to identify the preferred (or most efficient) packet route for routing the packet to the destination device. When selecting the preferred packet route, the routing unit 114 can take various factors into consideration including, whether the source and the destination hybrid devices are located on different network segments, whether any of the packet routes between the source and the destination hybrid devices comprises one or more legacy bridges, whether a packet route that does not comprise any legacy bridges is available, and whether the legacy bridges will receive the packet on a previously determined interface/port. For example, if one of multiple packet routes between a source hybrid device and a destination hybrid device is not in accordance with the communication network topology previously learned by the legacy bridge, the source hybrid device can determine not to select that packet route to minimize/prevent confusion of the legacy bridge. From block 226, the flow ends.

It should be understood that FIGS. 1-3 are examples meant to aid in understanding embodiments and should not be used to limit embodiments or limit scope of the claims. Embodiments may perform additional operations, fewer operations, operations in a different order, operations in parallel, and some operations differently. It is noted that in some implementations, to enable the hybrid devices to distinguish between a single network segment with a large propagation delay and two network segments coupled by a legacy bridge, the length of probe message transmitted by the hybrid devices can be the maximum allowable packet size. After the initiating hybrid device 102 transmits the probe message to the adjacent legacy device 106, the target hybrid device 104 can wait to detect the probe message for a predetermined time delay (e.g., a sum of a maximum packet transmission time interval and a maximum propagation delay time interval). After the predetermined time delay elapses, the target hybrid device 104 can indicate whether or not the probe message was detected

In some implementations, the hybrid device 102 can transmit multiple probe messages to the same adjacent legacy device 106 and can determine whether some/all or none of the probe messages were detected by the one or more other target hybrid devices 104 and 116. The hybrid device 102 and the target hybrid device 104 can be considered part of distinct network segments coupled by the legacy bridge 110 if the target hybrid device 104 does not detect any of the probe messages transmitted to the adjacent legacy device 106. Transmitting multiple probe messages can minimize the errors due to network delays, network congestion, etc.

It is also noted that in some implementations, the network topology discovery operations described herein may be executed in conjunction with one or more other network topology discovery techniques and/or other route selection techniques. For example, network topology discovery operations described herein may be executed in conjunction with the Bridge Spanning Tree Protocol (STP). As another example, the network topology discovery operations may be executed in conjunction with load level analysis techniques. In some implementations, a hybrid device 102 can analyze communication load levels at each of the interfaces to which the hybrid device 102 is connected to a network segment. The hybrid device can broadcast the determined communication load levels associated with each of the interfaces to other hybrid devices in the hybrid communication network 100 and can similarly receive communication load level information from the other hybrid devices. The hybrid device 102 can determine whether the communication load level on a particular network segment is approximately equal to the communication load level as seen by all the other hybrid devices connected to that network segment. In some implementations, one of the hybrid devices can artificially increase the communication load level on the network segment (e.g., by transmitting one or more test messages) at predetermined time instants and can determine whether the increase in the communication load level was detected at other hybrid devices. The hybrid devices that detect a corresponding increase in the communication load levels can be considered part of the same network segment.

As another example, the network topology discovery operations may be executed in conjunction with analysis of dropped packets. In some implementations, the legacy bridges may be configured to drop any VLAN tagged packet with a canonical format indicator (CFI) flag set to “1.” To detect the presence of a legacy bridge, an initiating hybrid device 102 can transmit test messages comprising a VLAN tag and the CFI flag set to “1” to a destination hybrid device 104. The initiating hybrid device 102 can also transmit test messages comprising the VLAN tag and the CFI flag set to “0” to the destination hybrid device 104. If the initiating hybrid device 102 determines that the destination hybrid device 104 detected the test messages with the CFI flag set to “0” and did not detect the test messages with the CFI flag set to “1”, the initiating hybrid device 102 can infer the presence of a legacy bridge between the initiating hybrid device 102 and the destination hybrid device 104.

Lastly, it is noted that a hybrid device can be any suitable network device of a “first class of communication devices” that comprises multiple communication interfaces and that is configured to operate across multiple networking technologies. A legacy or conventional device can be any suitable network device of a “second class of communication devices” that comprises a single communication interface and that is configured to operate across a single networking technology.

Embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, embodiments of the inventive subject matter may take the form of a computer program product embodied in any tangible medium of expression having computer usable program code embodied in the medium. The described embodiments may be provided as a computer program product, or software, that may include a machine-readable medium having stored thereon instructions, which may be used to program a computer system (or other electronic device(s)) to perform a process according to embodiments, whether presently described or not, since every conceivable variation is not enumerated herein. A machine-readable medium includes any mechanism for storing or transmitting information in a form (e.g., software, processing application) readable by a machine (e.g., a computer). A machine-readable medium may be a machine-readable storage medium, or a machine-readable signal medium. A machine-readable storage medium may include, for example, but is not limited to, magnetic storage medium (e.g., floppy diskette); optical storage medium (e.g., CD-ROM); magneto-optical storage medium; read only memory (ROM); random access memory (RAM); erasable programmable memory (e.g., EPROM and EEPROM); flash memory; or other types of tangible medium suitable for storing electronic instructions. A machine-readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, an electrical, optical, acoustical, or other form of propagated signal (e.g., carrier waves, infrared signals, digital signals, etc.). Program code embodied on a machine-readable signal medium may be transmitted using any suitable medium, including, but not limited to, wireline, wireless, optical fiber cable, RF, or other communications medium.

Computer program code for carrying out operations of the embodiments may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on a user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN), a personal area network (PAN), or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider)

FIG. 4 is a block diagram of one embodiment of an electronic device 400 including a mechanism for discovery of legacy devices and bridges in a hybrid communication network. In some implementations, the electronic device 400 may be one of a laptop computer, a netbook, a mobile phone, a powerline communication device, a personal digital assistant (PDA), or other electronic systems comprising a hybrid communication unit configured to exchange communications across multiple communication networks (which form the hybrid communication network). The electronic device 400 includes a processor unit 402 (possibly including multiple processors, multiple cores, multiple nodes, and/or implementing multi-threading, etc.). The electronic device 400 includes a memory unit 406. The memory unit 406 may be system memory (e.g., one or more of cache, SRAM, DRAM, zero capacitor RAM, Twin Transistor RAM, eDRAM, EDO RAM, DDR RAM, EEPROM, NRAM, RRAM, SONOS, PRAM, etc.) or any one or more of the above already described possible realizations of machine-readable media. The electronic device 400 also includes a bus 410 (e.g., PCI, ISA, PCI-Express, HyperTransport®, InfiniBand®, NuBus, AHB, AXI, etc.), and network interfaces 404 that include at least one of a wireless network interface (e.g., a WLAN interface, a Bluetooth® interface, a WiMAX interface, a ZigBee® interface, a Wireless USB interface, etc.) and a wired network interface (e.g., an Ethernet interface, a powerline communication interface, etc.). In some implementations, the electronic device 400 may support multiple network interfaces—each of which is configured to couple the electronic device 400 to a different communication network.

The electronic device 400 also includes a communication unit 408. The communication unit 408 comprises a device detection unit 412 and a routing unit 414. As described above in FIGS. 1-3, the communication unit 408 implements functionality to determine whether a hybrid communication network that comprises the electronic device 400 also comprises one or more legacy devices (also known as conventional devices). The communication unit 408 can also determine whether the electronic device 400 and one or more other hybrid devices in the hybrid communication network are located on different network segments coupled by a legacy learning bridge (also known as a conventional learning bridge). Any one of these functionalities may be partially (or entirely) implemented in hardware and/or on the processor unit 402. For example, the functionality may be implemented with an application specific integrated circuit, in logic implemented in the processor unit 402, in a co-processor on a peripheral device or card, etc. Further, realizations may include fewer or additional components not illustrated in FIG. 4 (e.g., video cards, audio cards, additional network interfaces, peripheral devices, etc.). The processor unit 402, the memory unit 406, and the network interfaces 406 are coupled to the bus 410. Although illustrated as being coupled to the bus 410, the memory unit 406 may be coupled to the processor unit 402.

While the embodiments are described with reference to various implementations and exploitations, it will be understood that these embodiments are illustrative and that the scope of the inventive subject matter is not limited to them. In general, a mechanism for discovery of conventional devices and bridges in a hybrid communication network as described herein may be implemented with facilities consistent with any hardware system or hardware systems. Many variations, modifications, additions, and improvements are possible.

Plural instances may be provided for components, operations, or structures described herein as a single instance. Finally, boundaries between various components, operations, and data stores are somewhat arbitrary, and particular operations are illustrated in the context of specific illustrative configurations. Other allocations of functionality are envisioned and may fall within the scope of the inventive subject matter. In general, structures and functionality presented as separate components in the exemplary configurations may be implemented as a combined structure or component. Similarly, structures and functionality presented as a single component may be implemented as separate components. These and other variations, modifications, additions, and improvements may fall within the scope of the inventive subject matter. 

1. A method comprising: detecting, at a first network bridge device of a first class of network devices, that one or more packets originating from a second network device of a second class of network devices that are forwarded by the first network bridge device do not include a predetermined tag; determining, at the first network bridge device, that the second network device of the second class of network devices is communicatively located adjacent to at least one of a plurality of network interfaces of the first network bridge device based, at least in part, on said detecting that the one or more packets originating from the second network device do not include the predetermined tag; and inserting, at the first network bridge device, the predetermined tag in the one or more packets originating from the second network device.
 2. The method of claim 1, further comprising: transmitting a probe message to the second network device of the second class of network devices; determining whether the probe message was detected by a target network device of the first class of network devices that is communicatively located adjacent to the second network device of the second class of network devices; and determining that a first network segment associated with the first network bridge device is communicatively coupled to a second network segment associated with the target network device via a network bridge device of the second class of network devices in response to determining that the probe message was not detected by the target network device.
 3. The method of claim 1, further comprising: transmitting a probe message to the second network device of the second class of network devices; determining whether the probe message was detected by a target network device of the first class of network devices that is communicatively located adjacent to the second network device of the second class of network devices; and determining that the second network device and the target network device are associated with a common network segment in response to determining that the probe message was detected by the target network device.
 4. The method of claim 1, wherein said determining that the second network device of the second class of network devices is communicatively located adjacent to at least one of the plurality of network interfaces of the first network bridge device further comprises: providing, to one or more other network devices of the first class of network devices, an indication that the first network bridge device of the first class of network devices is communicatively located adjacent to the second network device of the second class of network devices.
 5. A method comprising: determining that at least one of a plurality of network interfaces of a first network device of a first class of network devices is communicatively located adjacent to a second network device of a second class of network devices in a communication network based, at least in part, on detecting that one or more packets received at the at least one of the plurality of network interfaces from the second network device do not comprise a predetermined tag; transmitting, via the at least one of the plurality of network interfaces of the first network device, a probe message to the second network device of the second class of network devices; determining whether the probe message was detected by at least one of a plurality of network interfaces of a target network device of the first class of network devices that is communicatively located adjacent to the second network device of the second class of network devices; and determining that a first network segment associated with the at least one of the plurality of network interfaces of the first network device is communicatively coupled to a second network segment associated with the at least one of the plurality of network interfaces of the target network device via a network bridge device of the second class of network devices in response to determining that the probe message was not detected by the target network device.
 6. The method of claim 5, wherein the first network device and the target network device are network bridge devices of the first class of network devices.
 7. The method of claim 5, further comprising: determining that the second network device of the second class of network devices and the at least one of the plurality of network interfaces of the target network device are associated with a common network segment, in response to determining that the probe message was detected by the at least one of the plurality of network interfaces of the target network device.
 8. The method of claim 5, wherein said determining that the at least one of the plurality of network interfaces of the first network device of the first class of network devices is communicatively located adjacent to the second network device of the second class of network devices in the communication network comprises: receiving, at the at least one of the plurality of network interfaces of the first network device, the one or more packets from the second network device of the second class of network devices; reading the one or more packets to determine whether the one or more packets received from the second network device of the second class of network devices comprises the predetermined tag; and determining that the at least one of the plurality of network interfaces of the first network device of the first class of network devices is communicatively located adjacent to the second network device of the second class of network devices in response to determining that the one or more packets received from the second network device of the second class of network devices do not comprise the predetermined tag.
 9. The method of claim 5, wherein in response to determining that the one or more packets received from the second network device of the second class of network devices do not comprise the predetermined tag, the method further comprises: determining whether the one or more packets received from the second network device of the second class of network devices are to be forwarded to a destination device of the communication network; in response to determining that the one or more packets received from the second network device of the second class of network devices are to be forwarded to the destination device of the communication network, inserting the predetermined tag in the one or more packets received from the second network device of the second class of network devices; and forwarding the one or more packets comprising the predetermined tag to the destination device.
 10. The method of claim 5, further comprising: providing, to at least the target network device of the communication network, an indication that the at least one of the plurality of network interfaces of the first network device of the first class of network devices is communicatively located adjacent to the second network device of the second class of network devices.
 11. The method of claim 5, further comprising identifying the at least one of the plurality of network interfaces of the target network device of the first class of network devices that is communicatively located adjacent to the second network device of the second class of network devices in response to detecting a message from the target network device that indicates that the at least one of the plurality of network interfaces of the target network device is communicatively located adjacent to the second network device of the second class of network devices.
 12. The method of claim 5, wherein said transmitting the probe message to the second network device of the second class of network devices further comprises: identifying the at least one of the plurality of network interfaces of the target network device of the first class of network devices that is communicatively located adjacent to the second network device of the second class of network devices; negotiating, with the target network device, a communication schedule in which to probe the second network device of the second class of network devices; and transmitting the probe message to the second network device of the second class of network devices in accordance with the communication schedule.
 13. The method of claim 5, wherein said transmitting the probe message to the network device of the second class of network devices further comprises: determining an address of the second network device of the second class of network devices based, at least in part, on a source address associated with the one or more packets received from the second network device of the second class of network devices; and transmitting the probe message from the first network device of the first class of network devices to the source address associated with the second network device of the second class of network devices.
 14. The method of claim 13, wherein the address associated with the second network device comprises a media access control (MAC) address associated with the second network device.
 15. A network device comprising: a plurality of network interfaces; and a device detection unit coupled with the one or more network interfaces, the device detection unit operable to: determine that at least one of the plurality of network interfaces of the network device of a first class of network devices is communicatively located adjacent to a second network device of a second class of network devices in a communication network based, at least in part, on detecting that one or more packets received at the at least one of the plurality of network interfaces from the second network device do not comprise a predetermined tag; transmit, via the at least one of the plurality of network interfaces of the network device, a probe message to the second network device of the second class of network devices; determine whether the probe message was detected by at least one of a plurality of network interfaces of a target network device of the first class of network devices that is communicatively located adjacent to the second network device of the second class of network devices; and determine that a first network segment associated with the at least one of the plurality of network interfaces of the network device is communicatively coupled to a second network segment associated with the at least one of the plurality of network interfaces of the target network device via a network bridge device of the second class of network devices in response to the device detection unit determining that the probe message was not detected by the target network device.
 16. The network device of claim 15, wherein the device detection unit is further operable to: determine that the second network device of the second class of network devices and the at least one of the plurality of network interfaces of the target network device are associated with a common network segment, in response to the device detection unit determining that the probe message was detected by the at least one of the plurality of network interfaces of the target network device.
 17. The network device of claim 15, wherein in response to the device detection unit determining that the one or more packets received from the second network device of the second class of network devices do not comprise the predetermined tag, the device detection unit is further operable to: determine whether the one or more packets received from the second network device of the second class of network devices are to be forwarded to a destination device of the communication network; in response to the device detection unit determining that the one or more packets received from the second network device of the second class of network devices are to be forwarded to the destination device of the communication network, insert the predetermined tag in the one or more packets received from the second network device of the second class of network devices; and forward the one or more packets comprising the predetermined tag to the destination device.
 18. The network device of claim 15, wherein the device detection unit operable to transmit the probe message to the second network device of the second class of network devices further comprises the device detection unit operable to: identify the at least one of the plurality of network interfaces of the target network device of the first class of network devices that is communicatively located adjacent to the second network device of the second class of network devices; negotiate, with the target network device, a communication schedule in which to probe the second network device of the second class of network devices; and transmit the probe message to the second network device of the second class of network devices in accordance with the communication schedule.
 19. The network device of claim 15, wherein the device detection unit operable to transmit the probe message to the network device of the second class of network devices further comprises the device detection unit operable to: determine an address of the second network device of the second class of network devices based, at least in part, on a source address associated with the one or more packets received from the second network device of the second class of network devices; and transmit the probe message from the network device of the first class of network devices to the source address associated with the second network device of the second class of network devices.
 20. One or more machine-readable storage media having instructions stored therein, which when executed by one or more processors causes the one or more processors to perform operations that comprise: detecting, at a first network device of a first class of network devices, that one or more packets originating from a second network device of a second class of network devices that are forwarded by the first network device do not include a predetermined tag; determining that the second network device of the second class of network devices is communicatively located adjacent to at least one of a plurality of network interfaces of the first network device based, at least in part, on said operation of detecting that the one or more packets originating from the second network device do not include the predetermined tag; inserting the predetermined tag in the one or more packets originating from the second network device; transmitting, via the at least one of the plurality of network interfaces of the first network device, a probe message to the second network device of the second class of network devices; determining whether the probe message was detected by at least one of a plurality of network interfaces of a target network device of the first class of network devices that is communicatively located adjacent to the second network device of the second class of network devices; and determining that a first network segment associated with the at least one of the plurality of network interfaces of the first network device is communicatively coupled to a second network segment associated with the at least one of the plurality of network interfaces of the target network device via a network bridge device of the second class of network devices in response to determining that the probe message was not detected by the at least one of the plurality of network interfaces of the target network device.
 21. The machine-readable storage media of claim 20, wherein the operations further comprise: determining that the second network device of the second class of network devices and the at least one of the plurality of network interfaces of the target network device are associated with a common network segment, in response to said operation of determining that the probe message was detected by the at least one of the plurality of network interfaces of the target network device.
 22. The machine-readable storage media of claim 20, wherein the operations further comprise: providing, to at least the target network device of the communication network, an indication that the at least one of the plurality of network interfaces of the first network device of the first class of network devices is communicatively located adjacent to the second network device of the second class of network devices.
 23. The machine-readable storage media of claim 20, wherein said operation of transmitting the probe message to the network device of the second class of network devices further comprises: determining an address of the second network device of the second class of network devices based, at least in part, on a source address associated with the one or more packets received from the second network device of the second class of network devices; and transmitting the probe message from the first network device of the first class of network devices to the source address associated with the second network device of the second class of network devices. 